Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vueify Rules Edit #14878

Merged
merged 6 commits into from
Dec 9, 2022
Merged

Conversation

ElectronicBlueberry
Copy link
Member

Closes #12880

I attempted to write an automated test for this component, however importing RuleCollectionBuilder throws an error in jest, due to the "handsontable" dependency.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added this to the 23.1 milestone Oct 28, 2022

async function onEdit() {
if (props.target) {
const url = `${getAppRoot()}api/dataset_collections/${props.target.id}?instance_type=history`;
Copy link
Contributor

@guerler guerler Dec 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is from the previous code, but we could use this opportunity to use UrlData from utils/url here. Thank you so much for working on this.

@dannon dannon self-assigned this Dec 8, 2022
@bgruening
Copy link
Member

Failed selenium test looks related: FAILED lib/galaxy_test/selenium/test_tool_form.py::TestLoggedInToolForm::test_run_apply_rules_4 - selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"i.fa-edit"}

@dannon dannon merged commit 7f4aa2a into galaxyproject:dev Dec 9, 2022
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

This PR was merged without a "kind/" label, please correct.

@dannon dannon added the kind/refactoring cleanup or refactoring of existing code, no functional changes label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[form parameter] rules: "_fieldRulesEdit"
4 participants